<?php

/*----- out html -----*/
$smarty = new Smarty();	//-- out template

$smarty->setTemplateDir(TEMPLATE_DIR);
$smarty->setCompileDir(COMPILE_DIR);
$smarty->setCacheDir(CACHE_DIR);

$smarty->use_sub_dirs 	= false;
$smarty->force_compile 	= false;
$smarty->debugging 		= false;

// on: Smarty::CACHING_LIFETIME_CURRENT,  Smarty::CACHING_OFF
// off: Smarty::CACHING_OFF
$smarty->setCaching(Smarty::CACHING_OFF);
$smarty->setCacheLifetime(TEMPLATES_LIFE_TIME); // unit: second
$smarty->setCompileCheck(true);
?>
